Skip to main content

Update Payment Split

Update Payment Split configuration to add a new beneficiary

Request

POST 'https://apisandbox.delbank.com.br/baas/api/v1/split-payments/configurations/{splitPaymentId}/beneficiaries'

Headers

NameDescription
x-delbank-api-keyRequired. API key
x-delfinance-account-idRequired. The Delfinance bank account number

Body

NameTypeDescription
ruleTypeenumRequired The type of amount that will be calculated. Domains:
- PERCENTAGE - The amount is calculated as a percentage of the total payment, the maximum percentage allowed is 5%.
- FIXED - The amount is a fixed, absolute value. If the specified amount exceeds 50% of the transaction amount, the split will not be made
ruleAmountnumberRequired The amount to be applied, depending on the selected ruleType
beneficiaryBankAccountNumberstringRequired The destination account where these rules will be applied

Response

On a successful response, here's what you'll receive:

{
"id": 15,
"createdAt": "2025-09-19T20:04:38.112Z",
"updatedAt": "2025-09-19T20:04:38.112Z",
"beneficiaries": [
{
"id": 18,
"splitPaymentConfigurationId": 15,
"ruleAmount": 5,
"ruleType": "PERCENTAGE",
"pixKey": "string",
"bankIspb": "string",
"bankAccountNumber": "string",
"bankAccountBranch": "string",
"holderDocument": "string",
"holderName": "string",
"bankAccountType": "PAYMENT"
}
]
}

Update Payment Split configuration to change a beneficiary's rule

Request

PATCH 'https://apisandbox.delbank.com.br/baas/api/v1/split-payments/configurations/{splitPaymentId}/beneficiaries/{splitPaymentBeneficiaryId}'

Headers

NameDescription
x-delbank-api-keyRequired. API key
x-delfinance-account-idRequired. The Delfinance bank account number

Path Parameteres

NameDescription
splitPaymentIdRequired. The Payment Split configuration Id
splitPaymentBeneficiaryIdRequired. The beneficiary Id

Body

NameTypeDescription
ruleTypeenumRequired The type of amount that will be calculated. Domains:
- PERCENTAGE - The amount is calculated as a percentage of the total payment, the maximum percentage allowed is 5%.
- FIXED - The amount is a fixed, absolute value. If the specified amount exceeds 50% of the transaction amount, the split will not be made
ruleAmountnumberRequired The amount to be applied, depending on the selected ruleType

Response

On a successful response, here's what you'll receive:

{
"id": 15,
"createdAt": "2025-09-19T20:04:38.112Z",
"updatedAt": "2025-09-19T20:04:38.112Z",
"beneficiaries": [
{
"id": 18,
"splitPaymentConfigurationId": 15,
"ruleAmount": 5,
"ruleType": "PERCENTAGE",
"pixKey": "string",
"bankIspb": "string",
"bankAccountNumber": "string",
"bankAccountBranch": "string",
"holderDocument": "string",
"holderName": "string",
"bankAccountType": "PAYMENT"
}
]
}